home *** CD-ROM | disk | FTP | other *** search
- ---------------------------------*-text-*---------------------------------
-
- TiMidity -- Experimental MIDI to WAVE converter
- Copyright (C) 1995 Tuukka Toivonen <titoivon@snakemail.hut.fi>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- --------------------------------------------------------------------------
-
- This is an attempt to port TiMidity to the Win32 world. With these patches
- TiMidity will run on Win32 platforms such as Windows 95 and Windows NT,
- but NOT on Windows 3.1x with Win32s because it doesn't support console mode.
- Currently it supports only the dumb interface, but a Windows GUI interface
- is planned (when I have some spare time to fiddle with .RC files...), also
- it doesn't support pipes (Win32 has named pipes, I think, but I never
- used them so I must check...).
- I added a console handler to check for Ctrl-C and Ctrl-Break keys to clean up
- the audio stuff, so the side effect is that if you break this program when
- you are writing .WAV files, they will have always the correct lengths into
- their header and are ready to be played.
- On my machine, a 486DX2 with 8MB of RAM and a Windows Sound System compatible
- audio board, it plays well in real time at a frequency of 32000 hertz-16bit-
- mono, or 22050-16bit-stereo most MIDI files, but if you switch to another
- task while it is playing, the audio output becomes chunky; TiMidity works
- better on Windows NT than on Windows 95 Beta 3 where it sounds more chunky.
-
- To look for changes in the code, search for "__WIN32__".
- I am very sorry for the file name truncation, but I worked on a FAT based
- filesystem with the 8.3 characters name restriction; I think files could be
- renamed better.
-
- The file TIMIDITY.IDE is the Borland C++ 4.5 project file and the file
- TIMIDITY.MAK is a Borland C++ 4.5 Makefile; With some work, I think,
- you can compile the code with other products (Microsoft C, Watcom C, etc.),
- just be sure to define the symbols AU_WIN32, __WIN32__, and include the file
- win_aud.c.
-
- Probably, the code in win_aud.c needs some more work, notably in the callback
- function that shouldn't call waveOutUnprepareHeader directly, but it works...
-
- I will appreciate if you'll include these patches into future releases of
- TiMidity, and if I'll make changes, I'll send them to you.
-
- Davide Moretti
- no-personal-email@I.am.sorry
-
- To contact me, for now, write a letter to:
-
- Davide Moretti
- via Neri da Rimini, 28
- 47037 Rimini, Italy
-
- Postcard changes are welcomed...
-